package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.DiseaseBean;

/**
 * @author RJ
 * @date 2022/9/14 16:38
 */
public interface IDiseaseService extends IService<DiseaseBean> {
    //添加新病害
    void addDisease(DiseaseBean diseaseBean);

    //查看详细信息
    DiseaseBean getDiseaseInfo(Integer diseaseId);

    //根据病害名称和发病症状查询病害信息，实现分页
    IPage<DiseaseBean> cutDiseaseByItem(Integer pageNo, Integer pageSize, String diseaseName, String diseaseSymptoms);
}
